package com.ruoyi.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author : Xuzhaobo
 * @date : 2024-12-20 18:43
 * @description :
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Order {
    private Integer orderId;
    //用户编号
    private Integer userId;
    //车辆等级编号
    private Integer levelId;
    //订单类型编号
    private Integer orderTypeId;
    //地区编号
    private Integer areaId;
    //支付渠道编号
    private Integer payTypeId;
    //起点名称
    private String startingPlace;
    //目的地名称
    private String destination;
    //起点经度
    private String startLongitude;
    //目的地经度
    private String endLongitude;
    //用车时间
    private Date useCarTime;
    //预估金额
    private BigDecimal estimatedAmount;
    //实际金额
    private BigDecimal actualAmount;
    //实际支付金额
    private BigDecimal actualAmountPaid;
    //优惠金额
    private BigDecimal discountAmount;
    //平台佣金
    private BigDecimal platformCommission;
    //税费
    private BigDecimal taxAmount;
    //所得金额
    private BigDecimal amountReceived;
    //公里数
    private Integer kilometres;
    //订单时长
    private Integer orderDuration;
    //司机到达时间
    private Date driverTime;
    //上车时间
    private Date boardingTime;
    //到达时间
    private Date arrivalTime;
    //取消时间
    private Date cancellationTime;
    //行程状态
    private Integer formationState;
    //支付状态
    private Integer payStatus;
    //支付流水号
    private String serialNumber;
    //高速费
    private BigDecimal highwayFee;
    //车牌号
    private String carCode;





}
